<template>
  <div class="userShow">
    <my-index-usercover v-if="usershow!=null" :cover="usershow.cover"></my-index-usercover>
    <my-index-userdetail v-if="usershow!=null" :detail="usershow.detail"></my-index-userdetail>
  </div>
</template>

<script>
import myIndexUsercover from "./usershow/myIndexUsercover";
import myIndexUserdetail from "./usershow/myIndexUserdetail";

export default {
  name: "myIndexUsershow",
  props:{
    usershow: {
      type: Object,
      default: function (){
        return {}
      }
    }
  },
  components: {
    myIndexUsercover,myIndexUserdetail
  }
}
</script>

<style scoped>
.userShow{
  margin: 10px 10px 10px 10px;
  width: 100%-20px;
}
</style>